//package com.example.myopencv.roundcamera;
//
//import android.Manifest;
//
//import android.os.Bundle;
//
//import com.example.myopencv.R;
//import com.example.myopencv.camera.BaseActivity;
//
//public class RoundCameraMainActivity extends BaseActivity {
//    private String[] NEEDED_PERMISSION = new String[]{Manifest.permission.CAMERA};
//
//
//    private static final int REQ_CODE = 0x001;
//
//    /**
//     * 圆形摄像头预览控件
//     */
//    private CircleRoundCameraPreview circleCameraPreview;
//    private static final String[] CAMERA_PERMISSION = new String[]{
//            Manifest.permission.CAMERA
//    };
//
//    @Override
//    protected void onCreate(Bundle savedInstanceState) {
//        super.onCreate(savedInstanceState);
//        setContentView(R.layout.activity_main_roundcamera);
//
//
////        if (ContextCompat.checkSelfPermission(this, NEEDED_PERMISSION[0])
////       if (checkPermissions(CAMERA_PERMISSION)) {
////
////            // 没有相机权限则停止运行
////            ActivityCompat.requestPermissions(this, NEEDED_PERMISSION, REQ_CODE);
////            this.finish();
////            return;
////        }
//
//        circleCameraPreview = findViewById(R.id.circle_camera_preview);
//
//
//
//    }
//
//
//
//}
